package com.zdkj.subway.rca.mapper;

import com.zdkj.subway.rca.entity.CodeName;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author cooze
 * @version 1.0.0 创建于 2020/10/27
 **/
@Mapper
public interface SysDictCommonMapper {

    /**
     * 根据类型获取字典表的K-v
     *
     * @param type 类型
     * @return k-v列表
     */
    List<CodeName> selectAllDictKv(@Param("type") String type);
}
